﻿using System.Collections.ObjectModel;
using Caliburn.Micro;
using JY.Wpf.Core.Tools;

namespace JY.Wpf.Core.Models
{
    /// <summary>
    /// 用户信息
    /// </summary>
    public class User : PropertyChangedBase
    {
        /// <summary>
        /// 用户名
        /// </summary>
        [NotifyPropertyChanged]
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        [NotifyPropertyChanged]
        public string Password { get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        [NotifyPropertyChanged]
        public string RealName { get; set; }
        /// <summary>
        /// 系统菜单
        /// </summary>
        [NotifyPropertyChanged]
        public ObservableCollection<SystemMenu> SystemMenus { get; set; }
    }
}
